﻿using MauiApp1.Services;

namespace MauiApp1;

public partial class App : Application
{
	public App(MainPage mainPage)
	{
		InitializeComponent();

		//MainPage = new AppShell();
		//MainPage =  mainPage;
        MainPage =  new NavigationPage(mainPage);
    }
    //public App(ITest test)
    //{
    //	var tt = test.GetString();
    //       Console.WriteLine(tt);
    //   }

    protected override Window CreateWindow(IActivationState activationState)
    {
        Window window = base.CreateWindow(activationState);

        // Manipulate Window object

        return window;
    }
}
